//
//  EpointContactsListCell.m
//  EpointFrame5
//
//  Created by 李亚春 on 14-1-27.
//  Copyright (c) 2014年 Epoint. All rights reserved.
//

#import "EpointContactsListCell.h"

@implementation EpointContactsListCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
//        self.backgroundColor = [UIColor clearColor];
        self.ivImg = [[UIImageView alloc]initWithFrame:CGRectMake(5, 5, 40, 40)];
        self.lbTitle = [[UILabel alloc]initWithFrame:CGRectMake(50, 0, self.contentView.frame.size.width-50, 50)];
        self.lbTitle.backgroundColor =[UIColor clearColor];
        self.lbDetail = [[UILabel alloc]initWithFrame:CGRectMake(50, 27, (self.contentView.frame.size.width-50)/2, 20)];
        self.lbDetail.textColor = [UIColor grayColor];
        self.lbDetail.backgroundColor =[UIColor clearColor];
        [self.lbDetail setFont:[UIFont systemFontOfSize:12]];
        [self.contentView addSubview:self.ivImg];
        [self.contentView addSubview:self.lbTitle];
        [self.contentView addSubview:self.lbDetail];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
